package com.example.demo.service;

import com.example.demo.dao.StuInformationDao;
import com.example.demo.model.StuInformation;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class StuInformationServiceImpl implements StuInformationService {

    @Resource
    StuInformationDao stuInformationDao;

    @Override
    public String findClazz(String Phone) {
        return stuInformationDao.findClazzByPhone(Phone);
    }

    @Override
    public StuInformation findStuInformation(String Phone) {
        return stuInformationDao.findStuInformation(Phone);
    }
}
